package com.onLineCar.management.feign;


import com.onLineCar.common.core.domain.Result;
import com.onLineCar.management.domain.VehicleLevel;
import com.onLineCar.management.feign.impl.QueryCarLevelAllDataImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author : 段敏强
 * @className : QueryCarLevelAllData
 * @description : 描述说明该类的功能
 * @createTime : 2023/12/19 09:36
 */


/**
 * 远程调用车辆类型数据服务
 * @author  段敏强
 */
@FeignClient(value = "onLineCar-manages",fallback = QueryCarLevelAllDataImpl.class)
public interface QueryCarLevelAllData {


    @GetMapping("/vehicle-level/queryCarLevelAll")
    public Result<List<VehicleLevel>> queryCarLevelAll();

}
